package com.imooc.common;

/**
 * class_name: com.imooc.dataobject.VO
 * <p>
 * describe: 商品的上下架的状态
 * creat_user: ErPengHe
 * creat_date: 2018/1/16
 * creat_time: 23:38
 **/
public enum ProductStats {
    UP(0,"上架"),
    DOWN(1,"下架");

    private Integer code;
    private String message;

    ProductStats(Integer code, String message) {
        this.code = code;
        this.message = message;

    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
